package com.scs.application.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 */
@Data
@EntityClassAnnotation(remark = "字典表")
@TableName("sys_dict_type")
public class DictType extends DataEntity {


    @EntityFieldAnnotation(
        text = "识别码",
        length = "50",
        not_null = true,
        default_value = "",
        comment = ""
    )
    private String code;

    @EntityFieldAnnotation(
        text = "字典名称",
        length = "50",
        not_null = true,
        default_value = "",
        comment = ""
    )
    private String name;

    @EntityFieldAnnotation(
        text = "描述",
        length = "255",
        not_null = false,
        default_value = "",
        comment = ""
    )
    private String description;


}
